<template>
  <input type="text" v-model="inputVal">
  <p v-HighLight="inputVal"></p>
</template>

<script setup>
import { ref } from 'vue'

const inputVal = ref('hello')
</script>

<style lang="css" scoped></style>